package com.kgc.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("alipay")
@Data
@AllArgsConstructor
@NoArgsConstructor
    public class AlipayConfig {
        private String protocol;
        private String gatewayHost;
        private String signType;
        private String appId;
        private String merchantPrivateKey;
        private String alipayPublicKey;
        private String returnUrl;
        private String successUrl;
}
